<?php
/* SVN FILE: $Id: default.ctp 12 2009-09-26 20:39:20Z kenreily@gmail.com $ */
/**
 * Short description for file.
 *
 * Long description for file
 *
 * PHP versions 4 and 5
 *
 * Recenseo: Online submission and reviewing for education
 * Copyright 2008-2009, Ken Reily
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * $Date: 2009-09-26 20:39:20 +0000 (Sat, 26 Sep 2009) $
 * $Revision: 12 $
 * $Author: kenreily@gmail.com $
 * $HeadURL: http://recenseo.googlecode.com/svn/trunk/app/views/layouts/default.ctp $
 */
 echo $html->docType();
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>
		<?php __('Recenseo - '); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $html->charset();
		//echo $html->meta('icon');
		echo $html->css('cake.generic');

		echo $scripts_for_layout;
	?>
</head>
<body>
	<div id="container">
		<div id="header">
			<h3>
			  <?php __('Recenseo - '); ?>
			  <?php echo $title_for_layout; ?>
			</h3>
			<p>
  	  <?php
            if ($session->read('Auth.User.username') != '') {
  	      __('Currently logged in as ');
  	      echo $session->read('Auth.User.username');
            }
          
 	    ?>
 	    </p>
		</div>
		<div id="content">
			<?php
				if ($session->check('Message.flash'))
				{
					$session->flash();
				}
			?>

<!--      <h2>Your reviewer performance rating: <font color="red">-8 pts</font> (<?php echo $html->link('View Report','/users/performance/') ?>)</h2>
      <h2>Your reviewer performance rank: 10 out of 42 (<?php echo $html->link('View Report','/users/performance/') ?>)</h2>

          <p>&nbsp;</p>
          <hr>
-->
			<?php echo $content_for_layout; ?>
            <p><?php echo $html->link('Home','/'); ?></p>
		</div>
		<div id="footer">
		  <p>Recenseo v1.10</p>
		</div>
	</div>
	<?php echo $cakeDebug; ?>
</body>
</html>
